<!-- 快捷消息 -->

<template>
  <div>
    <div class="MaintainManage-RightQuick-btn" @click="openAdd()">
      <div><img :src="MAP.IMG" /></div>
      <span>{{ MAP.TEXT }}</span>
    </div>

    <MyModal />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'QuickMessage',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store), CORE.mixApiMenu('发布消息')],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('@admin/views/Operation/Message/MessageList', true, /vue$/)),
}
</script>
